//
//  TEWebViewController.m
//  TintExample
//
//  Created by Kevin Wu on 3/8/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import "TEWebViewController.h"

@implementation TEWebViewController



#pragma mark - UIViewController

- (void)loadView {
    [super loadView];
    
    [self addButtonWithTitle:@"Open Apple.com" selector:@selector(openApple:)];
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
}

- (void)openApple:(id)sender {
    TTWebViewController *wvc = [[TTWebViewController alloc] initWithURL:[NSURL URLWithString:@"http://www.apple.com/"]];
    [self.navigationController pushViewController:wvc animated:YES];
    TTRelease(wvc);
}

@end
